package com.erlinyou.im.service.ofroster;

import java.util.List;

import com.erlinyou.base.service.BaseService;
import com.erlinyou.im.model.ofroster.Ofroster;
@Deprecated
public interface OfrosterService extends BaseService<Ofroster, Long>{

	List<Ofroster> findByUsernameAndSub(String userId,byte sub);

	List<Ofroster> existsByCfrom(Long userId);
	
	public Ofroster findByUsernameAndJid(String username,String jid);

	boolean delGoodFriend(Long userId, long rid, String gid);

	Ofroster findByUsernameAndJidNotSub(String username,String jid);

	List<Ofroster> findBySub(byte i);
}
